* xdisp.c (redisplay_window): Don't call try_window_id if the
authorJim Blandy <jimb@redhat.com>
Fri, 11 Jun 1993 14:32:08 +0000 (14:32 +0000)
committerJim Blandy <jimb@redhat.com>
Fri, 11 Jun 1993 14:32:08 +0000 (14:32 +0000)
window isn't starting at the beginning of the line.

src/xdisp.c

index 6c6ee02a07dad3fbf39d0a0ce22d892cfc463342..3acdaed0740fa890f660c3544d76524621ebd307 100644 (file)
@@ -950,6 +950,8 @@ redisplay_window (window, just_this_one)
   else if (just_this_one && !MINI_WINDOW_P (w)
           && point >= startp
           && XFASTINT (w->last_modified)
+          /* or else vmotion on first line won't work.  */
+          && ! NILP (w->start_at_line_beg)
           && ! EQ (w->window_end_valid, Qnil)
           && do_id && !clip_changed
           && !blank_end_of_window